<table>
    <thead>
        <tr>
            <g:sortableColumn property="name" title="${message(code: 'shiro.role.name.label', default: 'Name')}" />
            <g:sortableColumn property="dateCreated" title="${message(code: 'shiro.role.dateCreated.label', default: 'Date Created')}" />
            <g:sortableColumn property="lastUpdated" title="${message(code: 'shiro.role.lastUpdated.label', default: 'Last Updated')}" />
        </tr>
    </thead>
    <tbody>
    <g:each in="${roleInstanceList}" status="i" var="roleInstance">
        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
            <td><g:link action="show" id="${roleInstance.id}">${fieldValue(bean: roleInstance, field: "name")}</g:link></td>
            <td>${fieldValue(bean: roleInstance, field: "dateCreated")}</td>
            <td>${fieldValue(bean: roleInstance, field: "lastUpdated")}</td>
        </tr>
    </g:each>
    </tbody>
</table>
